package com.example.serverSide.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class Orders extends BasePojo{
    private String orderId;
    private Long seller;
    private Long designer;
    private Long contractId;
    private String dealTime;
    private String dealDate;
    private String finalPaymentDate;
    private Double finalPayment;
    private Double currency;
    private String clientName;
    private String phone;
    private String address;
    private String note;
    private Long generalManager1;
    private Long generalManager2;
    private String generalManager1Op;
    private String generalManager2Op;
    private Integer status;
    private String statusInfo;
    @TableField(exist = false)
    private String generalManager1Name;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private Long user;
    @TableField(exist = false)
    private String generalManager2Name;
    @TableField(exist = false)
    private Date dealTimeD;
    @TableField(exist = false)
    private Date dealDateD;
    @TableField(exist = false)
    private Date createDateD;
    @TableField(exist = false)
    private String sellerName;
    @TableField(exist = false)
    private List<OrdersHistory> orderHistories;
    @TableField(exist = false)
    private List<OrdersBoard> ordersBoards;
    @TableField(exist = false)
    private List<OrdersHardware> ordersHardware;
}
